﻿<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="OpinionItem.ascx.cs" Inherits="blackhouse.Aparts.Web.Modules.OpinionItem" %>

<asp:Panel runat="server" ID="pnlOpinion" ClientIDMode="Static">
    <div class="opinion-item">
        
        <div class="opinion-content-wrap">
            <div class="opinion-positive">
                <img class="image-panel" src="/Data/Sites/1/skins/blackhouse/images/inPlus.png" />
                <h4>Podobało mi się:</h4>
                <asp:Literal runat="server" ID="lblInPlus" Text="Brak wpisu przy pozytywnej opinii" />
            </div>
             <div class="opinion-negative">
                <img class="image-panel" src="/Data/Sites/1/skins/blackhouse/images/inMinus.png" />
                <h4>Nie podobało mi się:</h4>
                <asp:Literal runat="server" ID="lblInMinus" Text="Brak negatywnej opinii" />
            </div>
            <asp:Panel runat="server" ID="pnlAnswer" Visible="false" CssClass="opinion-answer">
                <img class="image-panel" src="/Data/Sites/1/skins/blackhouse/images/answer.png" />
                <h4>Komentarz Aparts:</h4>
                <asp:Literal runat="server" ID="ltlAnswer" Text="" />
            </asp:Panel>
            <div class="opinion-bottom">
                <div class="opinion-apartment">Opinia do apartamentu: <asp:HyperLink runat="server" NavigateUrl="blabla" ID="lnkToOpinionApartment">Royal Famili - dwuosobowy</asp:HyperLink></div>
                <asp:Literal runat="server" ID="ltlTmplNonPublicIf" Visible="false">{{if !IsPublic}}</asp:Literal>
                <asp:Panel runat="server" ID="pnlNonPublic" CssClass="opinion-nonpublic">Opinia nie została jeszcze opublikowana</asp:Panel>
                <asp:Literal runat="server" ID="ltlTmplNonPublicEndIf" Visible="false">{{/if}}</asp:Literal>
                <asp:HyperLink runat="server" ID="lnkToOpinion" CssClass="opinion-link white-button">pokaż szczegóły opinii</asp:HyperLink>
                <div class="clear"></div>
            </div>
        </div>
        <div class="opinion-publisher-wrap">
            <div class="opinion-publisher">
                <asp:Image runat="server" ID="imgAvatar" CssClass="opinion-publisher-person" />
                <div class="opinion-publisher-point">
                    <asp:Literal runat="server" ID="lblScore" />
                </div>
                <asp:HyperLink runat="server" ID="lblPersonCategory" CssClass="opinion-publisher-category" />
            </div>
            <div class="opinion-publisher-personinfo">
                <asp:Literal runat="server" ID="lblPersonName" />, <b>
                    <asp:Literal runat="server" ID="lblCountry" /></b><br />
                <asp:Literal runat="server" ID="lblDate" />

            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
    <div style="display: none">
        <div class="app-opi-pername r16to12">
            <b></b>
            <br />
        </div>
        <div class="app-opi-date r16to12">
        </div>
        <div class="app-opi-plusminus r16to12">
            <div class="app-opi-plus bb ">
                
            </div>
            <div class="app-opi-minus">

                <div class="app-opis-sumval red-box b">
                </div>
            </div>
        </div>
    </div>
</asp:Panel>
